package cn.mandifal.mapper;

import cn.mandifal.pojo.DpGoods;
import cn.mandifal.pojo.DpGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DpGoodsMapper {
    int countByExample(DpGoodsExample example);

    int deleteByExample(DpGoodsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(DpGoods record);

    int insertSelective(DpGoods record);

    List<DpGoods> selectByExample(DpGoodsExample example);

    DpGoods selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") DpGoods record, @Param("example") DpGoodsExample example);

    int updateByExample(@Param("record") DpGoods record, @Param("example") DpGoodsExample example);

    int updateByPrimaryKeySelective(DpGoods record);

    int updateByPrimaryKey(DpGoods record);
}